<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<title>修改教师信息</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../layui/css/layui.css" media="all">
	<link rel="stylesheet" href="../css/teacherManagement.css"/>
</head>
<body>
	<!--弹框调用内容Start-->
	<div id="teacherdea" class="teacherdea-con">
		<table class="layui-table">
			<tbody>
				<tr>
					<td class="tdbck">账号</td>
					<td><span id="userName"></span></td>
					<td class="tdbck">真实姓名</td>
					<td colspan="4"><span id="realName"></span></td>
				</tr>
				<tr>
					<td class="tdbck">性别</td>
					<td><span id="sex"></span></td>
					<td class="tdbck">邮箱</td>
					<td><span id="email"></span></td>
				</tr>
				<tr>
					<td class="tdbck">入职时间</td>
					<td><span id="entryTime"></span></td>
					<td class="tdbck">出生日期</td>
					<td><span id="birthday"></span></td>
				</tr>
				<tr>
					<td class="tdbck">联系电话</td>
					<td><span id="phone"></span></td>
					<td class="tdbck">毕业学校</td>
					<td><span id="graduateSchool"></span></td>
				</tr>
				<tr>
					<td class="tdbck">固定电话</td>
					<td><span id="tell"></span></td>
					<td class="tdbck">单位电话</td>
					<td><span id="workTel"></span></td>
				</tr>
				<tr>
					<td class="tdbck">职务</td>
					<td><span id="post"></span></td>
					<td class="tdbck">家庭住址</td>
					<td><span id="address"></span></td>
				</tr>
			</tbody>
		</table>
	</div>
	<!--弹框调用内容END-->

	<div class="editTeacher-con">
		<!-- 条件查询区Start -->
		<blockquote class="layui-elem-quote not_border_left">
			<form class="layui-form" action="">	
				<div class="layui-inline">
					<div class="layui-input-inline">
					    <select name="selschooltype" id="selschooltype" lay-filter="selschooltype" lay-event="selschooltype">
						    <option value="00">请选择学校类型</option>
						</select>	
					</div>
					<div class="layui-input-inline">
					    <select name="selschool" id="selschool" lay-filter="selschool" lay-event="selschool">
						     <option value="00">请选择所属学校</option>
						 </select>
					</div>
					<div class="layui-input-inline">
						<select name="userType" id="userType" lay-verify="required">
							<option value="0">请选择角色</option>
						</select>
					</div>	
					<div class="layui-input-inline">
						<input id="seleUserName" name="seleUserName" type="text" autocomplete="off" placeholder="请输入教师工号或姓名" class="layui-input">
					</div>
					<div class="layui-inline">
						<button type="button" class="layui-btn layui-bg-blue" id="btnaselTeacher">查询</button>	
					</div>
				</div>
			</form>
		</blockquote>
		<!-- 条件查询区End-->
		
		<table class="layui-hide" id="tabteacher" lay-filter="tabteacher"></table>

		<script type="text/html" id="barDemo">
			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="btnselteacher">查看</a>	
			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="btneditteacher">编辑</a>	
			<a class="layui-btn layui-btn-xs layui-bg-red" lay-event="btndelteacher">删除</a>		
		</script>
		
		<div class="layui-elem-quote not_border_left editFromlayer-con" id="editFrom">
			<div class="from-con">
				<div style="width: 95%;">
				<form class="layui-form" action="">
					<div class="layui-row">
					    <div class="layui-col-xs6">
							<div class="layui-form-item">
								<label class="layui-form-label">账号</label>
								<div class="layui-input-block">
									<input id="teainfoid" name="teainfoid" type="text" class="layui-input" style="display:none">
									<input id="inpusername" name="inpusername" disabled="disabled" type="text"  class="layui-input layui-disabled">
								</div>
							</div>
						</div>
						<div class="layui-col-xs6">
						  	<div class="layui-form-item">
							    <label class="layui-form-label">真实姓名</label>
							    <div class="layui-input-block">
							      <input id="inprealname" name="inprealname" type="text" style="float: left;position: relative;" placeholder="请输入真实姓名" class="layui-input" autocomplete="off">
							      <i class="required">*</i>
							    </div>
						  	</div>
					  	</div>
				    </div>
				    <div class="layui-row">
					    <div class="layui-col-xs6">
						  	<div class="layui-form-item">
							    <label class="layui-form-label">性别</label>
							    <div class="layui-input-block" name="sex">
							      <input type="radio" name="inpsex" value="男" title="男" class="inpsex">
							      <input type="radio" name="inpsex" value="女" title="女" class="inpsex" checked>
							    </div>
							</div>
						</div>
						<div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">联系电话</label>
							    <div class="layui-input-block">
							    	<input id="inpphone" name="inpphone" type="tel" style="float: left;position: relative;" class="layui-input" placeholder="请输入联系电话" lay-verify="required|phone" autocomplete="off">
							    	<i class="required">*</i>
							    </div>
							</div>
						</div>
					</div>
				    <div class="layui-row">
					    <div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">E-mail</label>
							    <div class="layui-input-block">
							    	<input id="inpemail" name="inpemail" type="email" style="float: left;position: relative;" class="layui-input" placeholder="请输入E-mail" lay-verify="email" autocomplete="off">
							    	<i class="required">*</i>
							    </div>
							</div>
						</div>
						<div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">出生日期</label>
							    <div class="layui-input-block">
							    	<input id="inpbirthday" name="inpbirthday" type="text" style="float: left;position: relative;" class="layui-input" placeholder="yyyy-MM-dd" autocomplete="off">
							    </div>
							</div>
						</div>
					</div>
				    <div class="layui-row">
					    <div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">固定电话</label>
							    <div class="layui-input-block">
							    	<input id="inptell" name="inptell" type="text" class="layui-input" placeholder="请输入固定电话" autocomplete="off">
							    </div>
							</div>
						</div>
						<div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">单位电话</label>
							    <div class="layui-input-block">
							    	<input id="inpworktel" name="inpworktel" type="tel" class="layui-input" placeholder="请输入单位电话" autocomplete="off">
							    </div>
							</div>
						</div>
					</div>
				    <div class="layui-row">
					    <div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">毕业院校</label>
							    <div class="layui-input-block">
							    	<input id="inpgraduateschool" name="inpgraduateschool" type="text" class="layui-input" placeholder="请输入毕业院校" autocomplete="off">
							    </div>
							</div>
						</div>
						<div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">入职时间</label>
							    <div class="layui-input-block">
							    	<input id="inpentrytime" name="inpentrytime" type="text" class="layui-input" placeholder="请选择" autocomplete="off">
							    </div>
							</div>
						</div>
					</div>
				    <div class="layui-row">
					    <div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">职务</label>
							    <div class="layui-input-block">
							    	<input id="inppost" name="inppost" type="text" class="layui-input" placeholder="请输入职务" autocomplete="off">
							    </div>
							</div>
						</div>
						<div class="layui-col-xs6">
							<div class="layui-form-item">
							    <label class="layui-form-label">家庭地址</label>
							    <div class="layui-input-block">
							    	<input id="inpaddress" name="inpaddress" type="text" class="layui-input" placeholder="请输入家庭地址" autocomplete="off">
							    </div>
							</div>
						</div>
					</div>
				  	<div class="layui-form-item">
					    <div class="layui-input-block">
					      <button type="button" id="btnedittea" lay-submit="" lay-filter="btnedittea" class="layui-btn" style="float: right;"> 保  存 </button>
					    </div>
				  	</div>
				</form>
				</div>
			</div>
		</div>
	</div>
	<script src="../js/jquery-3.3.1.js"></script>
	<script src="../layui/layui.js" charset="utf-8"></script>
	<script src="../js/teacherManagement/editTeacher.js"></script>
</body>
</html>